add commandline procedure