External Index Action

Moved the common index actions to an external action.