Startup event fix

Also added a charlemagne flag. Could be useful