Finalize scriptexe implementation