another upload script fix