Basic functions, to build scripts.