full rewrite ex command executor