Removing debug statements, fixing environment variable