Fix for redirection on pbs