Re-added the lines for displaying info about reaching JSS but using the output method instead of print this time.