Used the resource path instead of hard coded path.