add auto complete script.