Fix setup.py
Update setup.py, add logging