Made getLongFromCommand closer to O1 than On
Reworked getLongFromCommand function