Make set of commands into a list