added version and ec2 id to header