added manage_database parameter (bool)