corrected .cif path
improved spec.py for various detectors