Changes to prevent serial version from outputting to console