remove the "interactive" flag from the environment