Convert a part of checking "sis" routine into ruby script