modify api a bit and change conf