Add rereco scripts.

This allows an easy and mostly automated rereco. Instructions can be found as comments in the code.