Adding uploader code