Fixes to scripts because of the new nn version changes.