Updated instance sizing for EC2 and fixed sed errors