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
Merge pull request #278 from revathskumar/fix

Fixes #267 and fixed formatting issue