Extend script.