updated to latest ndri scripts