fix nn script to work with new names for components