iof commands for optical