changed dir path option from list to string