[BUGFIX] Add needed setting to handle file_references correctly