add paste mode for external programs