do not inspect code for submission completeness when executing script

Fixes #802

If the engine has a `FileName` on it, we are not in the REPL so no submission completeness inspection should happen.