Rewrite anchor setup for easier randomization