reduce list of commands to one convert command