Modified Log save and loading system.