Fixed a bug with error reporting when reading scripts. Fixed the
transpose error with communication groups.