add system parameter

I have noticed that you were only using the multicore folder.

In my case I was using the solr one, so I added a parameter to allow the user to configure the right folder.