add origin to env config