script-run method now gets filepath to run instead of finding one on its own.