Added greater flexability in the pattern match.
Don't do any replacements if there are already ARGS references in the dashboard.