upgrade2coreBOS script