Fix reading options directory