Fix server interactive
Add config file usage to close/open the registrations