Fix env_wrapper invocation