Update Commands.java

Edited parsing