require env config sooner in the stack