Finalized script