Added a check for the saves directory