add local folder support.