some fixes in CORTEX script
some cortex tweaks
Merge remote branch 'halaszk/master'