update for load parameter, download and clean resource files