Added amend script