add public folder support