Fixed core bug, added handler for motto change