Added more strict shell exit statuses.  Added code to account for AMI snapshots.