Modify models.py to automatically recognise global and regional models for plotting.