Added host environment variable for generating urls