Fixed bug in directory permission mode
Modified eb options