minor adjustments to automation process