Change receive command function