Fixed bug in lib/hooks that was preventing files from being queued. Also polished up testing scripts.
Add script that allows for a script to be run multiple times.