Remove helper function.
Fix running scripts from a path with blanks.