def METHOD_NAME(override_css_dir, paths):
    journals = journal_models.Journal.objects.all()
    for journal in journals:
        # look for SCSS folder and files
        scss_files = journal.scss_files
        if len(scss_files) == 0:
            print('Journal with ID {0} [{1}] has no SCSS to compile'.format(journal.id, journal.name))
        else:
            print('Journal with ID {0} [{1}]: processing overrides'.format(journal.id, journal.name))
            override_css_file = os.path.join(override_css_dir, 'journal{0}_override.css'.format(str(journal.id)))
            # we will only process one single SCSS override file for a journal
            compiled_css_from_file = sass.compile(filename=scss_files[0], include_paths=paths)
            # open the journal CSS override file and write into it
            with open(override_css_file, 'w', encoding="utf-8") as write_file:
                write_file.write(compiled_css_from_file)
        journal_dir = os.path.join(settings.BASE_DIR, 'files', 'journals', str(journal.id))
        journal_header_image = os.path.join(journal_dir, 'header.png')
        if os.path.isfile(journal_header_image):
            print('Journal with ID {0} [{1}]: processing header image'.format(journal.id, journal.name))
            dest_path = os.path.join(settings.BASE_DIR, 'static', 'OLH', 'img', 'journal_header{0}.png'.format(journal.id))
            copy_file(journal_header_image, dest_path)