config dir configurable.
Style fixes.