implemented save configs