using resource loader so class path is considered first