Fix modnote, modlog.

Updated commands from Zarel's GitHub. Revert this commit if I removed a key part or something that isn't in Zarel's code.