Added option to serve or not the index.html by default.