Add uploading functionality