installation rewriting