Updated the build script to handle configurable source and destination locations.