add env & routes setting