touched up Eswars regex
Made gear hash correct for preplan