index now returns an exit status of 1 when failure is encountered.