Changed 'host' assignment to include http://