Add `get-script-dependencies`.

This gets a list of potential dependencies for a script.