fixing script progress output messages