changed css endscript