Refactored but still in head CSS