Added check for AWS EC2 CLI to set link and path