RF# moved upgrade scripts, QCADOOCLS-1605 - fixes in tree generation