adding pastebin functionality