Bug fix for CMToolApp root map script