Setup the preupdate scripts to work.