uploaded a working upload script