Implement setting environment variables