added a little bit of output as the program runs. displays the number of files discovered so far (a nice way of reassuring the user the script is actually working). Fixed some issue with the urls/paths or something I think (i can't remember exactly).