updated command line interface and result copies to clipboard