added ability to mkdir on remote machine