Refactored initialization properties of the IBaseScript into one initialization function.