Added directory option and comment about slice order