Very cool idea! I'd like this moved into the index.html file though where we parse the flags to keep flag handling in a single place.