Ratio

Make ratio configurable