This "works", but it feels messy. Is this doing what I think it is doing? (testing that it runs update and then install?)