pull db from env