Fixed search script.