init settings and ignore file