run_with_env for consistency