fixed operating-unit-index bug

Few final changes to the script. The python refactoring is fully finished now.

# To do
- Client has to be notified that all scripts has moved to the scripts folder
- A new readme has to be written for the python refactor