Add 'generate session' option to prevent auto-generation of nonexisting sessions