Fix dll and config file Problems