make uploading optional