script to install template