Support env and exit