Added some cli argument parsing.