added dowloand option for config folders to restProtocol