added line to support spaces in path to dbname.