Made change to accept array parameter from console in future.