small scripts for various purposes