corrected head if condition to include some css files