Added logging of savedir