modifed pipeclip wrapper to more accurately represent the original bash script
and idention error caused for an ambigous algorithm