Improved generating a css files.