Revert "update root file to the one built into dist"

This reverts commit 679a90a45e7cfeb4c5d56654df1b79acb62a2d07.
reverted changes to build process, back to where the @ problem was actually fixed