Rewriting root dir