Flags are temporarily working, still buggy, added some console commands.