Removed invalid command type and added search comand type