Accept arguments from cmd line.