Adding formatting into last iteration of the command.