add sample script to search entry from DB.