Make config load on startup and save on shutdown.