final script