Bugs corrected in utility scripts.