add argument attribute for resources for wildcard replacements