added support for deploying to multiple hosts