PEP-8ified.
Added checks to see if a file has changed since the last deploy.