always specify the analysis file as an output, even if it already exists
only treat array refs as array refs, leave other refs alone