bug fixes to dsc automation scripts.