pages static to dynamic.