Add function to list commands, fix table.concat