Added dual Linux and OSX support

Used pbcopy/paste for osx and python subscript on Linux for putting
output in clipboard