Improved uuid generation by using ruby instead of shell