put global reference 'folder' in scope.  style changes.