added option for connect.vhost