regenerate with theme