Made flags more customizable, and switched to place event.