Added generatedDir option, URL rewriting for CSS