Adding directory parameter for specifing model by name and path