Fixed command and snippet formatting