add rsList as argument in get-frequency query
add script to convert sql result to .frq format