Updated to handle sqlite path bug #40