Updated image directory, updated to use getLinks(url) function.