updated hms redirector to work