Adding index commands; removing unneded packages