Sets local cfg table and imported functions table to same (live or sandbox) as that used by the other modules.