Add KEEP_ENV to speed up runtime restore