Added debug

Added a print queue option