replace hardcoded text with page content