fixed settings saving

saves settings in individual files