Try using strtok to parse command