alter MakeHSSelector
Add file overwrite protection