Replace hardcoded path by vardb_path