Updated full directory script