Add lot parsing and showClipboard function