useful scripts for various purposes