update to load model from anywhere