}
}
-$to = 10 if !$to;
+$from = 1 unless $from;
+$to = 10 unless $to;
-push @out, "Date Hour SFI K A Forecast Logger";
+push @out, "Date Hour SFI A K Forecast Logger";
my @in = Geomag::search($from, $to, $main::systime);
for (@in) {
push @out, Geomag::print_item($_);