Minor tweaks to error checking: OK for codes to have embedded numbers
and some combinations of scripts are OK