added ec2 hook commands