Add embedded ruby to dynamically choose step