Added code for copying results to clipboard.