Fixed some issues with the commands in the latter half of the document