User data script to update AMI source