fixed redundant upload script