Added option to generate index files from a given packages path