changed main.egx