addedd references to myApp.templates, fixed script reference for builds