fixes to allow commands in arrays of other command arguments