utility to call coresendmsg to change location