consolidate common options for resources and lwrps