@ardila Can you wrap these lines that get the mongo client and the feature_db_port in a try/except clause?  This code should work even if the mongodb isn't set up, especially since one isn't always interested in writing to the db.