adjust require for both production and development env