Added validation of model location