$dbh->do('DELETE FROM ratings');
my $iq = $dbh->prepare('INSERT INTO ratings ( id, rating ) VALUES (?, ?)');
-open RATINGS, "/home/sesse/dev/bayeswf/bayeswf < $tmpnam |"
+open RATINGS, "$config::base_dir/bayeswf < $tmpnam |"
or die "bayeswf: $!";
while (<RATINGS>) {
/(.*) (.*)/ or next;