Added Deglan's scripts.  (scuttle is modified)
Skip buildings if upgrade can not be done on other iterations.