add logger to Ruby script skeleton