Improve input args parser to support multiple inputs