Updates for deployment -- fixes index bug.