Control flow if statement fixed; blank lines in scripts do no segv