Moved LESS error checking to main file