made mgen executable for all users