Fixed missed find/replace so that lua crashes will get reported