tweaked script: using get_headers instead of curl to check if old OCRE URI exists