added rebuild_lab.pl