write commands to output as run