fixed per @copenhas's direction. Works the way expected now.
Merge pull request #36 from voluspa/bug/35.regen.index.html

make sure index.html regen's when new files are added