Create chkerr.sh