add support to distribute to remote machines