adding appPath and basePath to new app template rendering context