replaced command printing