Improve upload script for Rep 1 and Dual