script looks for files ending in 'html' instead of '.html'