added version modifications to the automation script
merged version control for automation script