use share dir setting