added option to write custom css