added flags to index.html