Creating a session, and running a runtype