Added ability to deploy to remote server (as per sample and sample archetype)