Added environment check to disable debug mode