Fix some issues with AC loading and added some config options.