[NTG-context] Two problems with current ruby scripts