Handle relative and absolute paths in setup script
Added directory argument to setup script
Scripts for accessing example and template