Made changes to manage text on main page