stopped passing around out byte.Buffer, just creating it in each function. Exiting if errors occur while reaching heroku. Printing error if unsuccessful in setting env var.