Update scripts for older versions + adapt for our environment