rewrite website integration part