Add multple argument parsing

Added the logic for passing in multiple arguments.