Update save to file for csspecgen.py