Simplify timezone code and fix deploy task

Uploads the modified config/credentials.yml file to the server