add making temp file for db so multiple instances can be run concurrently