Adding ability to specify BitBucket account.
Cleaning up some code.