added dynamic var for json filename