Splitted if statements so it can be changed later to Created, Changed,
Deleted instead of Wrote, Deleted