adding the process-req logic
merge conflicts resolved
some hooks logic
hooks stopping place