flag to enable or disable database