fixed instances where the statements don't get replaced correctly.
updated ST4 plugin to 4.0.8
Merge pull request #109 from yushan87/array-swap-fix

Array swap fix