Adjusted to use id from config.