Original File

From http://jamescollings.co.uk/blog/bitbucket-deployment-script/