use cortex to manage dependencies