Fixes print statements, etc.