Fix bug: put command in documentation after exec command