Add support for `processScripts`. Closes #139