directory and index and script files created