Adding --hooks option to enable/disable hooks