Updated Code with New Run Vector