Use $? instead of S^ when invoking ar.