added included files in head and removed head css

this code needs to go into master, then merge master into the other branches