Map array of commands to run in serial