add instance folder support