Improve initialization configuration loading and error handling