Update and rename main.pl to first.pl