Command line options working fine