Bitbucket sync script.