I'd just get rid of this if statement, as it doesn't check the host...