added intend script