clean up sample upload script