Fix install script, add Amazon AMI to template