Creating an install and upgrade script