sample script is updated in readme file