Update newUpdateScript

More bug fixes and aesthetic work