updated index.pl adding comments and added 25 to $loop_limit