added  subprocessing with pbcopy