Fixed sess_mod.run to use new format