Add hook_civicrm_preProcess
Fix doc links