Removed prints to avoid encoding issues when running as daemon