Add feature of accepting settings from server

аналогично, на foreach