updated branch, using add_autopage to spawn viewer pages