General utility scripts.