Add confirmation before dropping database, add environment option for db.thor