bug automation initiated - exit is added - script wont work properlly