New build.py with directories