removed some commands and fixed relay