Updated build language scripts to exit with a code, allowing the docker build to either succeed on build, or not on fail