working daitss script for marsala on ruby 1.9.3