Fixed up Loop.pl and started search.pl