adapted CommandParser for RasPi compatibility