writing to paragraphs on main index.php page works