Added get clipboard contents function