Refactor loading of scripts to reduce redundant logic
Refactor loading of scripts to reduce redundant logic

Chris-Gr/just-not-sorry,cyrusinnovation/just-not-sorry,Chris-Gr/just-not-sorry,cyrusinnovation/just-not-sorry,cyrusinnovation/just-not-sorry,Chris-Gr/just-not-sorry