Support both array and comma separated string as arguments.