Updated script to also work on build-server.