Create motdgen.sh