use ruby instead of perl