Amend script