changing upload script