Fixed 'if' error, added setup.py