This script has some utilities for adding text files, installing/uninstalling applications and logging to file.