edit to covregions.py