add scripts to fix file metadata