readd load settings and thread ids