minor tweaks
fix filenames for database access