Syntax errors in launcher script

More bugs still exist