Setting up adrotate and events