Upload is now possible.

This fixes #6 and #24