moved CSS generation to program application.