Made scripts less noisy and fixed a logging error