add pages and styles