added ruby image output