Added Optimize to index actions