modify directory trees for pyinstaller