added info about dirmode & example