Concatenate multiple commands into one