little change to the movetosound

check local ,add some libaries