Added check to verify that sufficient args are supplied.
Corrected the range to skip Args[0] (which is the command itself)