Add logic to open session using command line while application is already running