Script now inherits from EventEmitter so actions can be triggered upon reloading and so forth.