added mechanism for generating only modified pages