implemented the new if command. old bug of selected option not appearing in command workspace still present.