added [else] to variable rewrite module