updated some small checks for the modifier script and spec file