added the missing 'g' at the end of two 's/.../.../g' substitutions.

Corrected a minor syntax error with two sed 's///g' substitutions where the 'g' was missing.