Fix register commands from global flags test
Add restart servers command