made build-o-matic.py modular