adding folder clean as default behaviour to index job