Wouldn't a script be more suitable?