Altered instructions so that things will work for pages