update main now uses correct load_files()