fixed versions of
        'objects' and 'output_dir'.
        z,'objects' must be a list or tuple of stringsr