refactored script, created setuptools config