Env config was not getting honored