updated the hard coded path in SQLFactory