Add script to update_files
Fix condition