Fixed outdated code and configuration.