Change collectionDir option to collection