Added bitbucket support. Synced standard output stream for better heroku logging experience.