fix api complete script urls