tweak upload script