USe variables on main page