Couple of fixups to make this easier to invoke via ssh

Introduces a `debug_log` function that lets you know how far the script is making it through if you export `DEBUG=1` to your environment.

Also invoke the the `script/` shit with nohup.