Minor improvemnent. Command method can now accept strings AND arrays.