moved upload before spiff