Added a guard to ensure that EC2 API tools are installed