Update sample script example
Remove param.inout() from ping script example
Re-order lines and use unwrap=True
Merge pull request #480 from will-moore/script_sample_gh-470

Script sample gh 470