add support for resource.json file to be in alternate dir defined by env var