Flags changed to ints so that system and user flags can both fit into one CAN message