fixed scripts for the new location of the build dirsctories