replacing public folder