move scrip logging back to debug