Formatting xclip function