First working version of pastebin upload