Improved Script Loading