Adding paste support on mac