miscellaneous scripts for own purpose