updated clipboard setup to work on linux and mac