updated prep.pl file, see change log in file