upload scripts and template files