now, the automatic control function is applied to the homepage.