get it to save the directory