Bug fix in cc_grid_config.py
Modified preconfig.py