Adding command-line parsing.