Rewriting gui system