Update to ruby scripts