Fix scripts for checking EC2 instance status
to use system status instead of instance status.