move to using scopt for cli args parsing
remove unused variable