Respecting database path from input