moved index statements to proper database