index.html added functionality to modules