Enable rewrite in install