Fix script reloads. Make basic logging work.