copy to remote host script implemented