correctly load sx.cfg