@Miles updated upload script