adding a script that automatically makes a directory html file