Remove left-over logging
Wire up most of the remaining script bits