Fixing error where the status directory does not exist.