rewrite options section