read config from resource properties