Fixed deploy scripts
Converted footer to use a template