modifies upload script