updated loader program