added down funct msg send to magic.py and fixed bug in diffy