this is that quick script Alk wrote as part of escalation; maybe put in a extras / contrib sub directory somewhere?