read cortex dependencies