using conf file instead of resource