Allow nodeArgs to also be passed as an array