added support for system clipboard