Added feature of accepting settings from server