Script for doing unattended core os updates