Adds scripts and updates script loading