Make the modepermission hook have the adding parameter
My original choice of file name was problematic.