The problem originates from the fact that the original script is written for depositing a compound with two elements. It therefore contains a mechanism to switch between the two elements, but as you have only one element, this switching causes it to call an index which does not exist in your list of elements.
The simple solution is to simply comment out this line: (line 707 in my version)
self._deposited_index += 1
You might want to do a little more cleaning up, but it should not be necessary.
Creating a new potential from scratch is not something we include in our software yet, but it is something we would like to do in the future. However, it is a long and complicated process, if the potential is to be completely reliable.