updating template
Fixing build.sh