Fix issue with main load, add info for debug log