modify to use cortex

Conflicts:
	package.json