Nuke the history file if necessary
Added the obfuscate_index parameter for scrambling the index