script finalized