Added DEBUG_IN_PRODUCTION flag