Some commenting. Fixed error on wrong command input.