Restore search script