Issue: xterm: bad command line option
fix: 1) the adautostg.pl had a missing space in the xterm command - $cmd = "xterm "." -e". "perl ".$ENV{'TEMP'}.$dirsep."staging".$dirsep."adautostg.pl "; Changed this to: $cmd = "xterm "." -e". " perl ".$ENV{'TEMP'}.$dirsep."staging".$dirsep."adautostg.pl ";