Added command line args and validation.