added option to manually specify db locations