Fixes #267 and fixed formatting issue

* generating main.css and main.scss leads to overwrite
 on sass compilation, os main.css will generate only when
 sass is not selected