Added a function file to manage files
Updated the script to deploy static code