Improved stability.

Begon a more abstract way to install scripts.

Maybe useful later on.