Fixes database file reference for production environment