Rewrote settings