add commandline to session