Execute a bunch of commands.