Modified to test cook EC instance