Added support for the new command chaining format

Modified a bit the compound_command regular expression, so that the new chain commands are now filtered as well. Also added the "l" and "r" commands to the commands array.