auto-made mgen shell script executable