added method to set model path