Run cortex scripts.