Adding two more cases for terminal commands