added copy and paste support for osx