Added local config file support