Consolidated old scripts into a single, full-featured utility.