Added sample script to ping devices present in the database