Scripting using AWS API's