Initial import, taking from my scripts dir in QE.