Fixed logging in build_model.py as well as made it copy config file