change max-size to max_size
updated AMI ID to dstk-general v3.1