OnQualifyUrl return new value

If QualifyUrl function is assigned use value returned by the funciont.