Fixes #15.

I added checks to make sure that 0-prepare_files ran correctly and then stupidly checked in bad code. Oops.