Adding prehooks to the process