Added pe_mode for Main.pm and missing , in script