added replacing ruby script