Change print out to use sys
Add in catch for queue authentication issue and allow it to continue when the token changes