update template
update install script to use a temp folder