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

Script sample gh 470 (rebased onto develop)