Updated rerequestURL Function