Changed modelling to run locally