PageControl improved
"define" removed
publish_state moved to config