Move bitly API token to environment variable, fix silly bug