Amend scripts