uploading creates thumbnail, added curl commands