merged cli, working on pulse injection