Updated build.py file to latest version