Adding a flush to be safe
Disabling print