Added option to disable frontend rewrites