Modify upload script