If script is an array, run commands in serial

Fixes #17