added the ability to diable hooks
adding more documentation