scripts useful to QE