updated pipeline to ensure 'm' units