Configures settings and modifies DB