Scripts/EoE: Readd the sql file and some changes to it, also some fix ups to 2nd phase