Added help and array input support