changing the directory index of staging