Fixed bug where command line options where not yet parsed