Paste command implementation