use environment variables for the database url as well, improve defaults