modified prebuild script
added TEMPLATES folder