Add test to show failures running script array
If script is an array, run commands in serial

Fixes #17
Merge pull request #18 from shekibobo/fix-array-scripts

Fix running script when it is an array