Added support for SCSS and LESS files, fixed a minor bug with the 'min' setting, cleaned up code and added additional comments