local-config functions update and critical bug-fixing