A simple flag generator demo