Ruby script modified.