use zgrep, int becomes integer, and maxlength set

Updated to work with mco 2.x. Also changed grep to zgrep which can grep compressed files which we find useful.