use cortex ls as pacakge