Change echo to printf in common-components