generalized the build script

made a change so the parent folder gets called instead of the hardcoded
path