misc scripts for doing useful things