reduce lag time after switching repo
stop model updating while model is being loaded
tidy up