Added cache dir check or create