Fixing NRC scripts