migrated code from multi-ruby to a separate image