fixes deploy script to include static and template files