Hotfixes for install.sh
Hotfixes for application script template