an occasionally useful script?