Added environment variables for cloud9 stuff and logging changes