general use scripts that were helpful to me when I needed to write them