Changes in the theme p code