Moved script block out of header for test