Update script run for AMI build.