* fix(tools): fix insert-erms helper script * only throw if undefined erms * revert last two commits * fix insertErms the correct way