Added automatic parsing of input command-line options