More script examples
Minor refactoring of utools.py