this is not possible to script
just unzipped my custom perks into fo2 and killed an ant,no crash,possible ur ini is corrupt?
edit : also tried altering ini settings and killed an ant,no crash
edit : what program u use for editing ini files?i recommend notepad++,its free and nice prog,find it...