[db] changes the way you set the default trash directory to env variable