adds extra vhost functionality