read defaults and local config