if SAVE_DIRECTORY is not defined it will fallback to SYSTEM_DIRECTORY