added Adam's script in example form