added show dirctory option