change cgi path, operation check
excute ems
update ems.cgi
rewrite DirPath in ems.cgi
excute ems.cgi