fix custom.css generation
clean up build dir
reduce flicker