restructured osmosis command for cleaner reading