recent changes to prep.pl