Included addHeadItem and changed the way the css is linked