Script for CloudFormation UserData attribute