Changed parsing for dbpath