Updated loadnet script to work with the memory data layer model.