Adding code to page