Script lookup will now look inside a directory if only one directory exists (no files).
Fixes #1020