commandline for script handling updated