-x will create external CSS file

also: reformat s,,, and else/elsif constructs