fixing cli name and flushing out hooks.router