update config with animation images 2 load

Updated code to cope with animation