Add posibility to define model_dir as an array of directorie paths