Add some modes to global file and update ignore file