support for pasting multiple commands