made template json file relative.