Updated script loading to allow for targeted