updated install template script