- do not hardcode path to the build scripts and removed legacy check