Updated script loading