script to trim uvis data