fixed the problem with changing data range
Refactored groups with template
Created new cfg file