resources: add alternative location macro