add comp index support and update usage comments