Removed environment setting functions... they didn't fix the problem