Added run search functionality