Changed way of getting content of page