restore session from command line