Quick sanity check script. Fixes #10.