Moved commands into code blocks to fix rendering and improve readability