added version modifications to the automation script