renamed DEBUG_MODE to DEV_MODE