debugging console port update script