Added SCSS support and cleaned up the generation code