search by script