Added If statement to ReturnURL