implementing local command line options