final script update (maybe)