Fix settings hooks with local configuration