Adding turn on and off scripts