add proper clipboard support