Add flag to indicate static or dynamic page