made setup.py fully functional