more changes to ruby scripts.