clean up refactor, option for trans-remote path