Mood mod command

Added register mod command and fixed defect with mod commands not running for other mods.