Fix regression upload bug. Closes #7.
Release 2.3.1