added script to upgrade system automatically