Moved script into head