adjustments to OperatedMachine.py