Settings stuff is rewritten